body {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(180deg, #4169E1 0%, #87CEEB 100%);
    font-family: 'Arial', sans-serif;
}

#gameCanvas {
    border: 3px solid #003366;
    background: linear-gradient(180deg, #87CEEB 0%, #ADD8E6 100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

#gameOver {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    padding: 30px;
    border: 2px solid #003366;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#gameOver h2 {
    color: #ff0000;
    margin-bottom: 15px;
}

#gameOver p {
    color: #003366;
    font-size: 18px;
    margin-bottom: 20px;
}

#gameOver button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#gameOver button:hover {
    background-color: #0056b3;
}

#scoreBoard {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 5px;
    color: #003366;
    font-weight: bold;
}

#colorSelection {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    padding: 30px;
    border: 2px solid #003366;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#colorOptions {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.colorOption {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.colorOption:hover {
    border-color: #003366;
}

#victory {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    padding: 30px;
    border: 2px solid #003366;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#victory h2 {
    color: #008000;
    margin-bottom: 15px;
}

#victory p {
    color: #003366;
    font-size: 18px;
    margin-bottom: 20px;
}

#victory button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#victory button:hover {
    background-color: #0056b3;
}
